package wang.API;

public class UserInfo {
   String UserName="wang";
    String UserPassword="wangzy258";
    public boolean check(String UserName, String UserPassword){
        boolean usernamers =this.UserName.equals(UserName);
        boolean userpassword = this.UserPassword.equals(UserPassword);
        if (usernamers == true & userpassword == true){
            return true;
        }else {
            return false;
        }
    }
}
